package kr.hkit.powerjava.chther04;

import java.util.Scanner;

public class won {
	public static void main(String[] args) {
		int won;//원화 입력
		double dal = 1392.83;//1달러
		double result;//결과
		Scanner input = new Scanner(System.in);
		System.out.println("원화를입력하세요:");
		
		won = input.nextInt();
		
		result = won/dal;//계산식
		
		System.out.println("입력된 원화는"+won+"환률계산후"+result+"달러");

	}
}
